<?
require_once("/var/www/html/new/com.inc.php");
include("class/OrderRecord_cgp.php");
include("class/ProductInfo.php");
$ac=$GLOBALS['_ac'];
$pw=$GLOBALS['_pw'];
$s = new SoapClient(null,array("location" => "http://localhost/open/openService/pft_insideMX.php","uri" => "www.16u.com?ac_16u=$ac|pw_16u=$pw|auth_16u=true"));
$ordernum=$_REQUEST['ordernum'];
$or=new OrderRecord($ordernum,$s);
$order=$or->info();
if(time()-strtotime((string)$order['mainOrder']->UUordertime)>3600){
	?><script>alert("订单已过1小时的支付期限");history.go(-1)</script><?
	exit;
}
$or->alipay();
?>